package com.example.hcbmsm.service;

import com.example.hcbmsm.domain.Inv;

import java.util.Map;

/**
 * @author Xinghm
 * @version 1.0
 * @since 2024/11/1 16:42
 */
public interface InvService {
    Map renew(Inv inv);

    Inv getDrugAmount(Long drugId);

    void removeByDrugId(Long drugId);

    void addInv(Inv inv);

    Map list(Long drugId, int pageNo, int limit);

    Map inAndOutInv(String token, Inv inv);
}
